SaveToFileAsync Method (NDocumentFormat<TDocument,TLoadSettings,TSaveSettings>)
Parameters
- document
- document to save. Cannot be null.
- file
- file to save document to. Cannot be null.
- saveSettings
- save settings. Can be null
- progress
- optional progress class
Return Value
a promise which resolves to true if document was saved to file, or false if saving was canceled by the user
Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)